
#ifndef PT_MBUS_SUBSCRIBE_H
#define PT_MBUS_SUBSCRIBE_H
#include <pt.h>
#include <stdbool.h>
#include <stdint.h>
#include "pt_mbus.h"

/**
 * @brief pt_mbus_subscribe
 * @param[in] topic_id Topic id
 * @param[in] cbk  Callbacks to handel data service
 * @param[in] user_data param will passed to Callbacks
 * @retval void
 */
void pt_mbus_subscribe(int topic_id, pt_mbus_callback_t cbk, void *user_data);

/**
 * @brief pt_mbus_unsubscribe
 * @param[in] cbk Callbacks to handel data service
 * @param[in] user_data param will passed to Callbacks
 * @retval void
 */
void pt_mbus_unsubscribe(int topic_id, pt_mbus_callback_t cbk, void *user_data);

#endif
